#include"ToolButtonIconLock.hpp"
using namespace ribbonStyleControls::Controls;
ToolButtonIconLock::ToolButtonIconLock(QString iconPath, QWidget* parent)
	:ToolButtonUpDownLock("", iconPath, parent) {}

QRect ToolButtonIconLock::iconRect()
{
	int x = (m_size - m_iconw) / 2;
	int y= (m_size - m_iconw) / 2;
	int w = m_iconw;
	int h = m_iconw;
	return QRect(x,y,w,h);
}
QSize ToolButtonIconLock::sizeHint() const
{
	return QSize(m_size, m_size);

}

QRect ToolButtonIconLock::textRect()
{
	return QRect(0,0,0,0);
}

QRect ToolButtonIconLock::arrowRect()
{
	return QRect(0,0,0,0);
}
